package com.baohua.util;

public class StringUtil {

	/*************************CODE*******************************/
	
	/**
	 * 菜单code
	 */
	public static final String MENU_CODE = "MENU_CATEGORY";
	
	/*******************
	 * 订单种类
	 */
	public static final String ORDER_CATEGORY_CODE = "ORDER_CATEGORY";
	
	/**
	 * 餐桌code
	 */
	public static final String TABLE_CATEGORY_CODE = "TABLE_CATEGORY";
	
	/*******************
	 * 餐桌类型：TABLE_ORDERING, BOOKING_ORDERING, TAKE_OUT
	 */
	public static final String TABLE_ORDERING_CODE = "TABLE_ORDERING";		//餐桌点餐
	public static final String BOOKING_ORDERING_CODE = "BOOKING_ORDERING";	//预订点餐
	public static final String TAKE_OUT_CODE = "TAKE_OUT";					//外卖点餐
	
	/*******************
	 * 订单状态:下单==》入厨==》传菜==》待结账==》已结束 or作废*/
	public static final String ORDER_STATUS_CODE = "ORDER_STATUS";
	public static final String ORDER_INVALID_CODE = "ORDER_INVALID";						//作废
	public static final String ORDER_ON_ORDERS_IN_CODE = "ON_ORDERS_IN";					//下单
	public static final String ORDER_COOKING_CODE = "COOKING";								//入厨
	public static final String ORDER_SERVING_CODE = "SERVING";								//传菜
	public static final String ORDER_WAIT_CHECKOUT_CODE = "ORDER_WAIT_CHECKOUT";			//待结账
	public static final String ORDER_HAS_BEEN_CHECKOUT_CODE = "ORDER_HAS_BEEN_CHECKOUT"; 	//已完成，已结账
	
	/**
	 * 第一类菜单
	 */
	public static final int THE_FIRST_MENU = 0;
	
	/**
	 * 第一类餐桌
	 */
	public static final int THE_FIRST_TABLE = 0;
	
	/**成功**/
	public static final boolean SUCCESS = true;
	
	/**不正确的数据**/
	public static final long ERROR_NUMBER = -1;
	
	/**不正确的String**/
	public static final String ERROR_STRING	= "-1";
	
	/**订单编码前缀**/
	public static final String ORDER_CODE_PREFIX = "DD";
	
	/**批处理的条数**/
	public static final int BATCH_SIZE = 20;	
	
	/**一个分隔符**/
	public static final String DELIMITER = ";";
}
